package com.xqboss.apps.dto.user;

import com.xqboss.apps.enums.user.PayTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * <p>
 *    钱包充值
 * </p>
 * @author Trent
 * @date 2023/8/19
 */
@Data
@ApiModel
public class WalletRechargeDto {

    @ApiModelProperty(value = "充值ID，自定义充值时不传")
    private Long rechargeId;

    @ApiModelProperty(value = "充值金额，指定金额时不传")
    private BigDecimal price;

    @ApiModelProperty(value = "支付方式", required = true)
    @NotNull(message = "支付方式")
    private PayTypeEnum payWay;

}
